Ext.define('appmod.model.knowledge.CurrentUserCategoryPerm', {
    extend: 'Ext.data.Model',

	idProperty:'categoryId',
    fields: [
		'categoryId',
		{name: 'cateView', type: 'int'},
		{name: 'onlyGroupCateView', type: 'int'},
		{name: 'cateAdding', type: 'int'},
		{name: 'cateEditing', type: 'int'},
		{name: 'cateDeleting', type: 'int'},
		{name: 'kmAdding', type: 'int'},
		{name: 'kmEditing', type: 'int'},
		{name: 'kmDeleting', type: 'int'},
		{name: 'kmView', type: 'int'},
		{name: 'isAdmin', type: 'int'}
	]  
    
});

